package in.freshstart.java.training.conditions;

public class IsoscelesTriangle {
	public static void main(String[] args) {
		int a = 8, b = 8, c = 2;
		if (((a + b) > c && (b + c) > a && (c + a) > b)
				&& (((a == b) && (a != c && b != c))
						|| ((b == c) && (b != a && c != a)) || ((c == a) && (c != b && a != b)))) {
			System.out.println("IsoscelesTriangle");
		} else {
			System.out.println("Not an IsoscelesTriangle ");

		}
	}

}
